package photobox.account

class ApplyForPhotographer {


    User user
    String content
    Date  dateCreated
    Date  lastUpdated
    Integer agreement
    static final int AGREEMENT_NO = 2     //不同意
    static final int AGREEMENT_YES = 1   //同意
    static final int AGREEMENT_NULL = 0  //提交
    static constraints = {
        agreement inList: [AGREEMENT_NO, AGREEMENT_YES,AGREEMENT_NULL] ,nullable: true
    }
}
